From: Ray Strode Date: Thu, 18 Nov 2010 05:05:02 +0000 (-0500) Subject: gdm: pull async fix from upstream X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~9409 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=e425a183f7e36371379e9ada91e2632f0a840a52;p=gnome-shell.git gdm: pull async fix from upstream This prevents a race at start up that could prevent the user from getting loaded properly. In the near future we need to drop the gdm user code entirely and switch to using the accountsservice library. --- diff --git a/src/gdmuser/gdm-user-manager.c b/src/gdmuser/gdm-user-manager.c index b60e5a6d0..d3df15ac7 100644 --- a/src/gdmuser/gdm-user-manager.c +++ b/src/gdmuser/gdm-user-manager.c @@ -1199,6 +1199,8 @@ on_list_cached_users_finished (DBusGProxy *proxy, return; } + maybe_set_is_loaded (manager); + g_ptr_array_foreach (paths, (GFunc)add_new_user_for_object_path, manager); g_ptr_array_foreach (paths, (GFunc)g_free, NULL);